/*    */ package com.zimbra.cs.datasource;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class ImportStatus
/*    */ {
/*    */   private String mDataSourceId;
/*    */   
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/* 31 */   boolean mIsRunning = false;
/* 32 */   boolean mSuccess = false;
/* 33 */   String mError = null;
/* 34 */   boolean mHasRun = false;
/*    */   
/*    */   ImportStatus(String dataSourceId) {
/* 37 */     this.mDataSourceId = dataSourceId;
/*    */   }
/*    */   
/*    */   ImportStatus(ImportStatus status) {
/* 41 */     this.mDataSourceId = status.mDataSourceId;
/* 42 */     this.mIsRunning = status.isRunning();
/* 43 */     this.mSuccess = status.getSuccess();
/* 44 */     this.mError = status.getError();
/* 45 */     this.mHasRun = status.hasRun();
/*    */   }
/*    */   
/* 48 */   public String getDataSourceId() { return this.mDataSourceId; }
/* 49 */   public boolean isRunning() { return this.mIsRunning; }
/* 50 */   public boolean getSuccess() { return this.mSuccess; }
/* 51 */   public String getError() { return this.mError; }
/*    */   
/*    */ 
/*    */   public boolean hasRun()
/*    */   {
/* 56 */     return this.mHasRun;
/*    */   }
/*    */   
/*    */   public String toString() {
/* 60 */     return String.format("ImportStatus: { dataSourceId=%s, isRunning=%b, success=%b, error=%s, hasRun=%b }", new Object[] { this.mDataSourceId, Boolean.valueOf(this.mIsRunning), Boolean.valueOf(this.mSuccess), this.mError, Boolean.valueOf(this.mHasRun) });
/*    */   }
/*    */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/datasource/ImportStatus.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */